package com.chat.entry.vo.group;

import com.chat.entry.enums.MessageType;
import com.chat.entry.enums.ReadStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class GroupMessageWithUnreadVO {
    private Integer groupMessageUnreadId;
    private Integer messageId;
    private Integer groupId;
    private Integer senderId;
    private String content;
    private MessageType type;
    private LocalDateTime sendTime;

    private Integer receiver;    // 谁的未读
    private ReadStatus readStatus;  // 已读 / 未读
}
